/** When your routing table is too long, you can split it into small modules **/
import Layout from '@/layout'


// 参数管理
const parameterManagement = {
  path: '/parameter-management',
  component: Layout,
  redirect: '/parameter-management/system-parameter',
  name: 'parameter-management',
  meta: {
    title: 'parameterManagement',
    icon: 'el-icon-edit-outline'
  },
  children: [
    { //系统参数
      path: 'system-parameter',
      component: () => import('@/views/ParameterManagement/SystemParameter/index'),
      name: 'pm-system-parameter',
      meta: { title: 'pmSystemParameter'}
    },
    { //系统消息
      path: 'system-messages',
      component: () => import('@/views/ParameterManagement/SystemMessages/index'),
      name: 'pm-system-messages',
      meta: { title: 'pmSystemMessages'}
    },
    { //法人管理
      path: 'corporate-management',
      component: () => import('@/views/ParameterManagement/CorporateManagement/index'),
      name: 'pm-corporate-management',
      meta: { title: 'pmCorporateManagement'}
    },
    { //币种管理
      path: 'currency-management',
      component: () => import('@/views/ParameterManagement/CurrencyManagement/index'),
      name: 'pm-currency-management',
      meta: { title: 'pmCurrencyManagement'}
    },
    { //发债信息
      path: 'issuance-information',
      component: () => import('@/views/ParameterManagement/IssuanceInformation/index'),
      name: 'pm-issuance-information',
      meta: { title: 'pmIssuanceInformation'}
    },
    { //公共参数
      path: 'public-parameters',
      component: () => import('@/views/ParameterManagement/PublicParameters/index'),
      name: 'pm-public-parameters',
      meta: { title: 'pmPublicParameters'}
    },
    { //曲线期限
      path: 'curve-deadline',
      component: () => import('@/views/ParameterManagement/CurveDeadline/index'),
      name: 'pm-curve-deadline',
      meta: { title: 'pmCurveDeadline'}
    },
    { //自定义期限
      path: 'custom-term',
      component: () => import('@/views/ParameterManagement/CustomTerm/index'),
      name: 'pm-custom-term',
      meta: { title: 'customTerm'}
    },
    { //可比券商管理
      path: 'comparable-broker-management',
      component: () => import('@/views/ParameterManagement/ComparableBrokerManagement/index'),
      name: 'pm-comparable-broker-management',
      meta: { title: 'comparableBrokerManagement'}
    },
    // { //移动平均
    //   path: 'moving-average',
    //   component: () => import('@/views/ParameterManagement/MovingAverage/index'),
    //   name: 'pm-moving-average',
    //   meta: { title: 'movingAverage'}
    // },
    // { //曲线叠加
    //   path: 'curve-superposition',
    //   component: () => import('@/views/ParameterManagement/CurveSuperposition/index'),
    //   name: 'pm-curve-superposition',
    //   meta: { title: 'curveSuperposition'}
    // }

  ]
}
export default parameterManagement
